const config = require("../../config/config.dev");
const browserSync = require("browser-sync");
const proxyModdleware = require("http-proxy-middleware");
const gulp = require("gulp");

module.exports = function(cb){
    browserSync.init({
        server: "../dev",
        port: config.port,
        middleware: proxyModdleware
    });
    console.log("获取注册过的任务的元信息:");
    console.log(gulp.tree());
    cb();
}